package com.hspedu.spring.annotation;

import com.hspedu.spring.component.MyComponent;
import com.hspedu.spring.component.UserController;

public class HspSpringApplicationContextTest {

    public static void main(String[] args) {
        HspSpringApplicationContext ioc = new HspSpringApplicationContext(HspSpringConfig.class);

        MyComponent myComponent = (MyComponent)ioc.getBean("hsp1");
        System.out.println(myComponent);

    }

}
